package cn.lwy.example.niit_race.service;


import cn.lwy.example.niit_race.pojo.Matter;

import java.util.List;

public interface MatterService {
    List<Matter> getMatterByUserId(int id);
    int getIdByUsername(String name);
    int getRoleIdByUsername(String name);
    void addMatter(Matter matter);
    Matter getMatterById(int id);
    void updateMatter(Matter matter);
    void delMatter(int id);
}
